package com.xjy.system.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Version;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 资金账户信息对象 sys_fundaccount
 *
 * @author xjy
 * @date 2022-03-10
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_fundaccount")
@Entity
public class SysFundaccount implements Serializable {

	private static final long serialVersionUID = 1L;

	/** ID */
	@Id
	@TableId(value = "id")
	private Long id;

	/** 项目ID */
	private Long projId;

	/** 账户ID */
	private Long accountId;

	/** 项目名称 */
	private String projName;

	/** 账户名称 */
	private String accountName;

	/** 账户开户行 */
	private String accountBank;

	/** 账户号码 */
	private String accountPhone;

	/** 原始采集的账户余额，后续不再变更 */
	private BigDecimal accountFistbalance;

	/** 账户变化的实时账户余额 */
	private BigDecimal accountLastbalance;

	/** 账户号码 */
	private String accountNo;

	/** 修改时间 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

	/** 审核状态 0：未审核（默认）；1：审核 */
	private Boolean auditStatus;

	/** $column.columnComment */
	@Version
	private Long version;

}
